
SynthDef("acid", { arg out, freq = 2000, gate = 0.4, pan = 1, cut = 8000, rez = 0.8, amp = 1;
Out.ar(out,
Pan2.ar(
RLPF.ar(
Pulse.ar(freq,0.5),
cut, rez),
pan) * EnvGen.kr(Env.linen(0.01, 1, 0.3), gate, amp, doneAction:2);
)
}).store;

(
Pbind(
\instrument,\acid, 
\dur,Pseq([0.25,0.5,0.25,0.5],inf),
\root,[-24,-12], 
\degree,Pseq([0,3,5,7,9,11,5,1],inf), 
\pan,Pfunc({1.0.rand2}),
\cut,Pxrand([1000,500,2000,300],inf), 
//\rez,Pfunc({0.7.rand +0.3}),
\amp,0.1
).play;
)              